<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>JSP Page</title>
        </head>
        <body>
            <h1 align="center"><h:outputText value="Thêm lớp học mới"/></h1>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel for="ms" value="Mã số lớp"/>
                    <h:inputText id="ms" value="#{lopHocBean.msLop}"/>
                    <h:outputLabel for="ht" value="Tên lớp"/>
                    <h:inputText id="ht" value="#{lopHocBean.tenLop}"/>
                    <h:outputLabel for="gv" value="Tên GVCN"/>
                    <h:inputText id="gv" value="#{lopHocBean.tenGVCN}"/>
                </h:panelGrid>
                <h:commandButton value="Insert" action="#{lopHocBean.InsertNew}"/>
            </h:form>
        </body>
    </html>
</f:view>
